

	<script language="JavaScript">						
	
	
 </script>


<?php
  	$directorio="..";
	if(file_exists("index.php"))
	{
		$directorio=".";
	}
  ?>
	<div id="boxes">
		<div id="dialog" class="window">
		<br>
			<form id="frmlogin">
				  <label>Usuario:</label><br/>
              <INPUT name="usuario" id="usuario"  size="15" maxLength="15"><br/>
			  
              <label>Contrase&ntilde;a</label><br/>
              <INPUT name="clave" id="clave" type="password" size="15" maxLength="15" 
			  onKeyPress="return caracter_enter('<?php echo $directorio; ?>',event);"><br/>
			  <!--<input type="checkbox" id="txtrecord">No cerrar sesi&oacute;n-->
              <div id="buton">
	              <input name="btingresar" type="button" id="btingresar" value="Ingresar"
				  
				  onClick="validarlogin('<?php echo $directorio; ?>');">
				
		
             </div>
				
			</form>
			<div  id="error"> </div>
		</div>
	</div>
	  <div id="mask"></div>

